x86/PV: prefer pv_inject_hw_exception()
authorJan Beulich <jbeulich@suse.com>
Wed, 14 Dec 2016 08:54:35 +0000 (09:54 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 14 Dec 2016 08:54:35 +0000 (09:54 +0100)
commit6cf995f1f59240532e27cb788a390185f4276d6f
tree4c0ceb60addc1ae098d9753a37578fa86882b0e5
parent4999bf3e8b4ced3fbdc4f64443a7fdab638322bb
x86/PV: prefer pv_inject_hw_exception()

... over editing the error code and calling do_guest_trap().

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/traps.c